package com.fcgzs.sellergoods.feign;

import com.fcgzs.entity.Result;
import com.fcgzs.sellergoods.pojo.ItemCat;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @Auther: ljj
 * @Description:
 */
@FeignClient(value = "SELLERGOODS")
public interface ItemCatFeign {

    @GetMapping("/itemCat/{id}")
    public Result<ItemCat> findById(@PathVariable Long id);
}
